<%@ page contentType="text/html;charset=utf-8" language="java"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@include file="./common/base.jsp" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>线路_约导游</title>
<!--css-->
<link rel="stylesheet" type="text/css" href="css/wutongstyle.css">
</head>

<body>
<!--head begin-->
<%@ include  file="./common/header.jsp"%>
<!--nav end--> 
<!--content begin-->
<div class="wt_content">
  <dl class="yuedaoyou daoyou">
    <!--  <dt><span>您的位置：<a href="index.jsp">约导游</a> &gt; <a href="dylist.jsp">线路</a></span>线路</dt>-->
    <dd>
      <div class="info_box clearfix">
        <div class="info_left">
          <h1 id="teamTitleId"></h1>
          <div class="info_new zhishi">
            <table width="100%" border="0" cellspacing="0" cellpadding="0"  class="biaodan">
              <tr>
                <td width="200" class="title">出发时间：</td>
                <td id="startTimeId"></td>
                <td width="200" class="title">出发地点：</td>
                <td id="sourceCityId"></td>
              </tr>
              <tr>
                <td class="title">目的地：</td>
                <td id="targetCityId"></td>
                <td class="title">总天数：</td>
                <td id="dayId"></td>
              </tr>
              <tr>
                <td class="title">是否出境：</td>
                <td id="isoutboundId"></td>
                <td class="title"></td>
                <td>&nbsp;</td>
              </tr>
              <tr>
                <td class="title">导服：</td>
                <td class="jiage" >￥<t id="costId"></t>/天</td>
                <td class="title">&nbsp;</td>
                <td>&nbsp;</td>
              </tr>
            </table>
            <h4>路线行程</h4>
            <pre style="font-size:12px;word-break:break-all;word-wrap:break-word;" id="tripId"></pre>
          </div>
        </div>
       <!--   <div class="info_right">
          <div class="ad"><img src="wutongimages/ad320.jpg" width="320" height="150" /></div>
          <h2>最新线路</h2>
          <ul>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
          </ul>
          <h2>相关线路</h2>
          <ul>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
            <li><a href="lxinfo.html">清迈3晚5日游*骑大象乘竹筏 夜间动物园</a></li>
          </ul>
          <h2>服务咨询</h2>
          <div class="ad"><img src="wutongimages/ad3202.jpg" width="320" height="150" /></div>
        </div>-->
      </div>
    </dd>
  </dl>
</div>
<!--content end--> 
<!--footer begin-->
<%@ include  file="./common/footer.jsp"%>
<!--footer end-->
</body>
<script>
var teamId=request("teamId");
$(function(){
	loadTeamList();
});
function loadTeamList(){
	var objp= {};
	$.ajax({
	 url: '${path}/core/getTravelTeamByTeamId?teamId='+teamId,
	 type: 'POST',
	 timeout: 30000,
	 cache : false,
	 data :objp,
	 async: false,
	 dataType:"json",      
	 contentType:"application/json",   
	// contentType: "application/json; charset=utf-8",
	 success:function(msg){
		var data=msg.travelTeam;
		var isoutboundstr="否";
		if(data.isoutbound==1){
			isoutboundstr="是";
		}
		$("#teamTitleId").html(data.teamtitle);
		$("#startTimeId").html(data.startTime);
		$("#dayId").html(data.days);
		$("#sourceCityId").html(data.sourcecity);
		$("#targetCityId").html(data.targetcity);
		$("#isoutboundId").html(isoutboundstr);
		$("#costId").html(data.guidecost);
		$("#tripId").html(data.trip);
		
	 },
	  failure:function(msg){
		   alert(eval('('+msg.responseText+')').error_text);
	  		
	  },
	  error:function(msg){
		   alert(eval('('+msg.responseText+')').error_text); 
	  }
	});
}
</script>
</html>
